<?php
	$count = count($data);
	if($count == 0){
		echo '<h5>Hiện tại phòng chưa có khách hàng đang ở</h5>';
	} else {
?>
		<ul class="dsdp-showdialog list-guest first-chil" style="margin-top: 8px;">
			<?php
		    foreach ($data as $key => $value) { ?>
		        <li>
		            <div class="date-guest">
		                <span style="text-decoration: underline; color:#286BE0;">
		                	<?php echo $value['Reservation']['start']; ?></span>&nbsp; đến &nbsp;<span style="text-decoration: underline; color:#286BE0;"><?php echo $value	['Reservation']['end']. "&nbsp;:";  ?></span>&nbsp; <?php echo $value['Guest']['name']; ?>
		            </div>
		        </li>
		    <?php } ?>
		</ul>
	<?php } ?>